import request from '@/utils/request'
// 报告类型列表
export function getReportList(officeId) {
    return request({
      url: '/report/getReportTypeList',
      method: 'get',
      params: {
        officeId
      }
    })
  }
  export function getYearList() {
    return request({
      url: '/system/report/getYear',
      method: 'get',
    })
  }
  
  // 查询设备维护详细
export function getReportManagerList(query) {
    return request({
      url: '/system/report/list',
      method: 'get',
      params: query
    })
  }
// 新增卡片管理
export function addReport(data) {
    return request({
      url: '/system/report',
      method: 'post',
      data: data
    })
  }
  
  // 修改卡片管理
  export function updateReport(data) {
    return request({
      url: '/system/report',
      method: 'put',
      data: data
    })
  }